package com.shop.service;

import com.shop.domain.Factory;
import com.shop.domain.Page;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * FactoryService
 * Created by heqianqian on 2017/7/10.
 */
public interface FactoryService<Factory> extends BaseService<Factory>{

    /**
     * 根据状态查询工厂信息
     */
    List<Factory> listFactory();

    /**
     * 商品上架
     */
    void start(Serializable[] ids);

    /**
     * 商品下架
     */
    void stop(Serializable[] ids);
}
